package com.huike.business.mapper;

import com.huike.business.domain.TbBusiness;
import com.huike.clues.domain.TbAssignRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description TODO
 * @Author YEmeeyo
 * @Date 2023-07-13 11:44
 */
@Mapper
public interface TbBusinessMapper {

    void insert(TbBusiness tbBusiness);

    void update(TbBusiness tbBusiness);

    void assignment(@Param("tbAssignRecord") TbAssignRecord tbAssignRecord, @Param("ids") Long[] ids);

    List<TbBusiness> list(TbBusiness tbBusiness);

    TbBusiness getById(Long id);

    void delete(List<Long> ids);

    List<TbBusiness> pool(TbBusiness tbBusiness);
    void updateTransfer(Long assignId, String value);
}
